QueryValue Function

The QueryValue Function is similar to GetSetting in that it returns a value from the registry. As with its sister function SetKeyValue it does not use encryption. You may first encrypt the value before using SetKeyValue. You should then ensure that you have decrypted the value after you have retreived it with QueryValue.

Syntax:

Visual Basic:

Ret$ = Reg.QueryValue SubKey, SettingName

The Root Key will be whatever RegKey is currently set to.

Data type: String

(c)1998 Silicon Prairie Software Co. All rights reserved.